{% extends 'base.html' %}
{% load staticfiles %}
{% block content_block %}
<!-- /.login-list -->
                    <form role="form" class="inner-top-50" action="{% url 'login' %}">
                        {% csrf_token %}
                        <div class="form-group">
                            <label for="exampleInputEmail1" class="sr-only">Email address</label>
                            {{ login_form.username }}
                        </div>
                        <div class="form-group">
                            <label for="exampleInputPassword1" class="sr-only">密码</label>
                            {{ login_form.password }}
                        </div>

                        <input type="hidden" name="source_url" value="{{ request.META.HTTP_REFERER }}" >
				 		<input type="submit" value="登录" class="btn btn-primary btn-uppercase">
                        <a href="#" class='forgot-password'>忘记密码</a>
                    </form>
                    <a class="acount-btn" href="{% url 'register' %}">注册</a>
                </div>
            </div><!-- /.modal-body -->
            <div class="modal-footer">
                <div class="text-center">
                    <ul class='social-list text-center'>
                        <li><a href="#" class="facebook"></a></li>
                        <li><a href="#" class="google-plus"></a></li>
                        <li><a href="#" class="twitter"></a></li>
                        <li><a href="#" class="pinterest"></a></li>
                    </ul><!-- /.social-list -->
                </div>
            </div><!-- /.modal-footer -->
            <a href="#" data-dismiss="modal" class="remove-icon"><i class="fa fa-times"></i></a>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->

<!-- Modal -->
<div id="modal-login-small" class="modal fade login login-xs hidden-sm hidden-lg"  tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-body">
                <div class="text-center">
                    <div class="logo-holder">
                        <h1 class="logo">本大师礼品</h1>
                        <div class="logo-subtitle">
                            <span>欢迎你的的到来</span>
                        </div><!-- /.logo-subtitle -->
                    </div>

                    <form role="form" class="inner-top-50" action="{% url 'login' %}">
                        {% csrf_token %}
                        <div class="form-group">
                            <label for="exampleInputEmail1" class="sr-only">Email address</label>
                            {{ login_form.username }}
                        </div>
                        <div class="form-group">
                            <label for="exampleInputPassword1" class="sr-only">密码</label>
                            {{ login_form.password }}
                        </div>

                        <input type="hidden" name="source_url" value="{{ request.META.HTTP_REFERER }}" >
				 		<input type="submit" value="登录" class="btn btn-primary btn-uppercase">
                        <a href="#" class='forgot-password'>忘记密码</a>
                    </form>
                    <a class="acount-btn" href="{% url 'register' %}">注册</a>
                </div>
            </div><!-- /.modal-body -->
            <div class="modal-footer">
                <div class="text-center">
                    <ul class='social-list text-center'>
                        <li><a href="#" class="facebook"></a></li>
                        <li><a href="#" class="google-plus"></a></li>
                        <li><a href="#" class="twitter"></a></li>
                        <li><a href="#" class="pinterest"></a></li>
                    </ul><!-- /.social-list -->
                </div>
            </div><!-- /.modal-footer -->
            <a href="#" data-dismiss="modal" class="remove-icon"><i class="fa fa-times"></i></a>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
{% endblock %}